package com.heatup.apt.model.course;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;
/**
 *
 * 只有私教订单用到该表。 用户签到一次加一条记录。 教练每销一次课，update一条记录。
 *
 */
@TableName("course_sign")
public class CourseSign implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**  */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 订单id */
    @TableField(value = "order_id")
    private Integer orderId;

    /** 课程id */
    @TableField(value = "course_id")
    private Integer courseId;

    /** 课时序号 */
    @TableField(value = "course_number")
    private Integer courseNumber;

    /** 用户id */
    @TableField(value = "user_id")
    private Integer userId;

    /** 录入人 */
    @TableField(value = "created_by")
    private Integer createdBy;

    /** 录入时间 */
    @TableField(value = "created_time")
    private Date createdTime;

    /** 销课的教练id */
    @TableField(value = "coach_id")
    private Long coachId;

    /** 销课的门店id */
    @TableField(value = "store_id")
    private Integer storeId;

    /** 销课开始时间 */
    @TableField(value = "start_time")
    private Date startTime;

    /** 教练的销课结束时间 */
    @TableField(value = "close_time")
    private Date closeTime;

    /** 是否已销课。（0: 未销。 1: 教练已销课） */
    private String isclose;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getCourseNumber() {
        return courseNumber;
    }

    public void setCourseNumber(Integer courseNumber) {
        this.courseNumber = courseNumber;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getCoachId() {
        return coachId;
    }

    public void setCoachId(Long coachId) {
        this.coachId = coachId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public String getIsclose() {
        return isclose;
    }

    public void setIsclose(String isclose) {
        this.isclose = isclose;
    }
}